<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        function getSum(num1,num2) {
            var sum = num1 + num2;
            console.log(sum);
        }
        getSum(10,14);
    </script>
</head>
<body>

</body>
</html>